package com.content_module.adapter;

import android.content.Context;
import android.support.annotation.Nullable;
import android.widget.TextView;

import com.content_module.R;

import component.fy.com.common_module.baseAdapter.BaseRecyclerAdapter;
import component.fy.com.common_module.baseAdapter.BaseViewHolder;

public class MainAdapter extends BaseRecyclerAdapter<String> {

    public MainAdapter(Context context, int layoutId) {
        super(context, layoutId);
    }

    @Override
    public void onBind(BaseViewHolder holder, @Nullable String bean, int position) {
        TextView textView = holder.getView(R.id.content_item_main_name);

        textView.setText(bean);
    }
}
